#ifndef IMPORTTHREAD_H
#define IMPORTTHREAD_H

#include <QThread>

class ImportThread : public QThread
{
    Q_OBJECT
public:
    explicit ImportThread(const QString &srcDir, const QString &dbFile, QObject *parent = 0);

    void run() Q_DECL_OVERRIDE;

signals:
    void totalFiles(int count);
    void resultReady(bool ok, const QString &msg);

private:
    QString m_srcDir;
    QString m_dbFile;
};

#endif // IMPORTTHREAD_H
